import random

pw = "pass1"
response = {"details": "Twisted bot under test. In emergency /msg AbstractBeliefs",
            "random": str(random.randint(1, 10))
            }
password = "pass1"
nickname = "TwistBot"
channel = "##practice2"
server = "irc.freenode.net"
port = 6667

def name():
    print "First, simple bot details:"
    nick = str(raw_input("Bot nickname> "))
    chan = str(raw_input("Bot channel> "))
    print ""
    return nick, chan

def server():
    print "Now, server and port to connect to:"
    serv = str(raw_input("Server> "))
    port = str(raw_input("Port> "))
    return serv, port

if __name__ == "__main__":
    nickname, channel = name()
    server, port = server()
